﻿Namespace DataAccess
    Public Interface IDataRepository(Of T)
        Function GetItem(ByVal uniqueCode As Integer) As T
        Function GetRawCollection() As List(Of T)
        Function Add(ByVal data As T) As Boolean
        Function Update(ByVal uniqueCode As Integer, ByVal newData As T) As Boolean
        Function Remove(ByVal uniqueCode As Integer) As Boolean
    End Interface
End Namespace
